package cn.tedu.boot09.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

//copy完整路径快捷键：Ctrl+Shift+Alt+C
@Configuration //添加此注解后，工程启动时会自动加载此配置类
@MapperScan("cn.tedu.boot09.mapper") //Mapper扫描注解,省去了每个Mapper接口都添加@Mapper
public class MyBatisConfig {
}
